﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.BaseLibrary.Domain;

namespace DepartmentWork.Migrator.Data
{
    public class PROJECT_DEVELOP_BUG : IEntity
    {
        /// <summary>
        /// BUG编号
        /// </summary>
        [DisplayName("BUG编号"), Required, Key]
        public Guid BUG_ID { get; set; }

        /// <summary>
        /// 隶属项目ID
        /// </summary>
        [DisplayName("隶属项目ID"), Required]
        public Guid PROJECT_ID { get; set; }

        /// <summary>
        /// BUG名称
        /// </summary>
        [DisplayName("BUG名称"), Required]
        public string BUG_NAME { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [DisplayName("描述"), Required]
        public string DESCRIPTION { get; set; }



        /// <summary>
        /// BUG级别
        /// </summary>
        [DisplayName("BUG级别"), Required]
        public int BUG_LEVEL { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [DisplayName("结束时间"), Required]
        public DateTime DEADTIME { get; set; }

        /// <summary>
        /// BUG创建人ID
        /// </summary>
        [DisplayName("BUG创建人ID"), Required]
        public Guid CREATER { get; set; }

        /// <summary>
        /// 分配人员的ID
        /// </summary>
        [DisplayName("分配人员的ID"), Required]
        public Guid HANDTO_USER { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间"), Required]
        public DateTime CREATETIME { get; set; }

        /// <summary>
        /// 确认时间
        /// </summary>
        [DisplayName("确认时间")]
        public DateTime? CHECKTIME { get; set; }

        /// <summary>
        /// BUG是否关闭
        /// </summary>
        [DisplayName("BUG是否关闭"), Required]
        public bool CLOSE_FLAG { get; set; }

        /// <summary>
        /// 0 未提交
        /// 1 已提交
        /// 2 已审核
        /// </summary>
        [DisplayName("确认标识"), Required]
        public int CHECK_FLAG { get; set; }
    }
}
